package cn.kgc.service;

import cn.kgc.bean.dto.UserDto;
import cn.kgc.bean.pojo.CUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface GMUserService extends IService<CUser> {
    //系统权限管理


    //展示所有用户
    List<UserDto> selectAllCuser();

    //增加用户
    CUser addCUser(CUser cUser);

    //修改用户
    CUser updateCUserByworkId(CUser cUser);

    //删除用户
    int deleteCUserByworkId(Long id);

    List<CUser> selectList(List<UserDto> list);
}
